from ftllibs.items.itemtools import ItemIconData

class Item_3027():
    def __init__(self):
        self.parent=False
        self.Name="Rod of Ages"
        self.IconFileName="3027.png"
        self.ID=3027
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['3010','1028','1027','1026']
        self.Builds_Into=[]
        self.Tags=['health','spell_damage','mana']
        self.Costs = 850
        self.Total_Costs = 3035
        self.Description="+450 Health +525 Mana +60 Ability Power  Passive: Your champion gains 18 Health, 20 Mana, and 2 Ability Power every minute (up to 10 times).  UNIQUE Passive: On leveling up, restores 250 Health and 200 Mana over 8 seconds."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Health += 450.0
        self.parent.Mana += 525.0
        self.parent.Ability_Power += 60.0
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


